package o;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;

public class zf {
    private final AtomicReference<aav> ˊ = new AtomicReference();
    private final ds<aav, List<Class<?>>> ˎ = new ds();

    @Nullable
    public List<Class<?>> ˊ(@NonNull Class<?> cls, @NonNull Class<?> cls2, @NonNull Class<?> cls3) {
        Object o_aav;
        List<Class<?>> list;
        aav o_aav2 = (aav) this.ˊ.getAndSet(null);
        if (o_aav2 == null) {
            o_aav = new aav(cls, cls2, cls3);
        } else {
            o_aav2.ˎ(cls, cls2, cls3);
            aav o_aav3 = o_aav2;
        }
        synchronized (this.ˎ) {
            list = (List) this.ˎ.get(o_aav);
        }
        this.ˊ.set(o_aav);
        return list;
    }

    public void ˊ(@NonNull Class<?> cls, @NonNull Class<?> cls2, @NonNull Class<?> cls3, @NonNull List<Class<?>> list) {
        synchronized (this.ˎ) {
            this.ˎ.put(new aav(cls, cls2, cls3), list);
        }
    }
}
